<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>React learn</title>
    <script src="build/react.js"></script>
    <script src="build/react-dom.js"></script>
    <script src="build/browser.min.js"></script>
</head>
<body>
    <div id="hello"></div>
    <div id="map"></div>
    <script type="text/babel">
        var arr = ["dongge","zeus","cnooc"];
        ReactDOM.render(
                <h1>Hello React!!</h1>,
                document.getElementById("hello")
        );
//        ReactDom.render(<div>{
//            arr.map(function(a){
//            return <h2>hello,a</h2>;
//        })
//        }</div>,
//                document.getElementById("map")
//        )
    </script>
</body>
</html>